package selebash;

import com.selebash.Selebash;
import com.selebash.config.SeleniumConfig;
import com.selebash.runtime.ExecutionContext;
import com.selebash.runtime.SelebashRunner;
import java.io.IOException;

/**
 * @author sad
 */
public class SelebashMain {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException {
        ExecutionContext executionContext = new Selebash()
                .setConfig(new SeleniumConfig())
                .parseFromJarResource("/selebash/crocusTest.sbh");
        SelebashRunner runner = new SelebashRunner();
        runner.run(executionContext);
    }
}